package cn.ichensw.otherworldlystationbackend.service.impl;


import cn.ichensw.otherworldlystationbackend.mapper.FilmTelevisionUserMapper;
import cn.ichensw.otherworldlystationbackend.model.entity.FilmTelevisionUser;
import cn.ichensw.otherworldlystationbackend.service.FilmTelevisionUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* @author csw
* @description 针对表【film_television_user】的数据库操作Service实现
* @createDate 2023-08-15 12:18:39
*/
@Service
public class FilmTelevisionUserServiceImpl extends ServiceImpl<FilmTelevisionUserMapper, FilmTelevisionUser>
    implements FilmTelevisionUserService {

    @Override
    public void updateDeletedFilmTelevisionUser(Long filmId, Long userId) {
        baseMapper.updateDeletedFilmTelevisionUser(filmId, userId);
    }

    @Override
    public FilmTelevisionUser selectFilmTelevisionUserByUserIdAndFilmId(Long filmId, Long userId) {
        return baseMapper.selectFilmTelevisionUserByUserIdAndFilmId(filmId, userId);
    }
}




